#ifndef _API_CMD_H
#define _API_CMD_H

enum {
    CMD_COMMON_GET_BOARD_INFO = 0x80,
    CMD_COMMON_REBOOT = 0x81,
    CMD_COMMON_FACTORY_RESET = 0x82,
    CMD_COMMON_DFU = 0x83,
    CMD_COMMON_FIND_ME = 0x84,
    CMD_COMMON_UART_CONFIG = 0x85,
    CMD_COMMON_KEEP_ALIVE = 0x86,
};

enum{
    CMD_BLE_CENTRAL_SCAN = 0x01,
    CMD_BLE_CENTRAL_CONNECT = 0x02,
    CMD_BLE_CENTRAL_GET_CONNECTED_LIST = 0x03,
    CMD_BLE_CENTRAL_READ = 0x04,
    CMD_BLE_CENTRAL_WRITE = 0x05,
    CMD_BLE_CENTRAL_NOTIFY_SET = 0x06,
    CMD_BLE_CENTRAL_GET_SCAN_PARAMS = 0x07,
    CMD_BLE_CENTRAL_SET_SCAN_PARAMS = 0x08,
    CMD_BLE_CENTRAL_GET_CONN_PARAMS = 0x09,
    CMD_BLE_CENTRAL_SET_CONN_PARAMS = 0x0A,
    CMD_BLE_CENTRAL_GET_FILTER_1 = 0x0B,
    CMD_BLE_CENTRAL_SET_FILTER_1 = 0x0C,
    CMD_BLE_CENTRAL_GET_FILTER_2 = 0x0D,
    CMD_BLE_CENTRAL_SET_FILTER_2 = 0x0E,
};

enum
{
    CMD_BLE_PERIPHERAL_SET_ADV = 0x20,
    CMD_BLE_PERIPHERAL_SET_DISCON = 0x21,
    CMD_BLE_PERIPHERAL_GET_ADV_PARAMS = 0x22,
    CMD_BLE_PERIPHERAL_SET_ADV_PARAMS = 0x23,
};


#endif // _API_CMD_H
